package com.dhcc.DRGsHosp.facade.dto;

import java.io.Serializable;


/**
 * 
 * @ClassName: MrqDictDetailDTO  
 * @Description ：    得分项目的字典表 
 * @Date: 2018年7月26日 下午3:30:20  
 * @Author QiaoYiLong 
 * @Version 3.1.1 DHC-DRG
 */
public class MrqDictDetailDTO implements Serializable {

	private static final long serialVersionUID = 3321540473649377520L;
	
	//得分项目编码	
	private String detailCode;
	
	//得分项目对应的权重编码	
	private String weightCode;
	
	//四大类检查项目编码
	private String scoreCode;
	
	//得分项目名称	
	private String detailName;
	
	//得分项目分数	
	private Double detailScore;
	
	//有效标志	
	private String validFlag;
	
	//首页字段名	
	private String medicalRecordField;

	public String getDetailCode() {
		return detailCode;
	}

	public void setDetailCode(String detailCode) {
		this.detailCode = detailCode;
	}

	public String getWeightCode() {
		return weightCode;
	}

	public void setWeightCode(String weightCode) {
		this.weightCode = weightCode;
	}

	public String getScoreCode() {
		return scoreCode;
	}

	public void setScoreCode(String scoreCode) {
		this.scoreCode = scoreCode;
	}

	public String getDetailName() {
		return detailName;
	}

	public void setDetailName(String detailName) {
		this.detailName = detailName;
	}

	public Double getDetailScore() {
		return detailScore;
	}

	public void setDetailScore(Double detailScore) {
		this.detailScore = detailScore;
	}

	public String getValidFlag() {
		return validFlag;
	}

	public void setValidFlag(String validFlag) {
		this.validFlag = validFlag;
	}

	public String getMedicalRecordField() {
		return medicalRecordField;
	}

	public void setMedicalRecordField(String medicalRecordField) {
		this.medicalRecordField = medicalRecordField;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((detailCode == null) ? 0 : detailCode.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MrqDictDetailDTO other = (MrqDictDetailDTO) obj;
		if (detailCode == null) {
			if (other.detailCode != null)
				return false;
		} else if (!detailCode.equals(other.detailCode))
			return false;
		return true;
	}
	

}
